package com.sc.nft.vo.profittemplate;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.sc.nft.enums.ProfitTemplateRewardsEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author JYT
 * @create 2024/5/10 15:50
 */
@Data
public class profitTemplateVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 分佣模板名称
     */
    @ApiModelProperty(value = "分佣模板名称")
    private String profitTemplateName;
    /**
     * 分佣比例
     */
    @ApiModelProperty(value = "分佣比例")
    private BigDecimal proportion;
    /**
     * 奖励积分
     */
    @ApiModelProperty(value = "奖励积分 PROFIT_AMOUNT 按照佣金金额换算 ,PAYMENT_AMOUNT 按照实付金额换算")
    private ProfitTemplateRewardsEnum bonusPoints;

}
